package slw.events
{
	import flash.events.Event;
	
	
	/**
	 * ScrollEvent
	 * 类
	 * @author ddx<br/>
	 * 2011-8-8
	 *
	 */
	public class ScrollEvent extends Event
	{
		//
		public static const SCROLL:String="scroll";
		
		public var scrollPosition:Number=0;
		public var scrollPercent:Number=0;
		/**
		 * 构造函数
		 * 
		 */
		public function ScrollEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false,scrollPosition:Number=0,scrollPercent:Number=0)
		{
			super(type, bubbles, cancelable);
			
			this.scrollPosition=scrollPosition;
			this.scrollPercent=scrollPercent;
		}
		
		/*
		-----------------------------------
		setters getters
		-----------------------------------
		*/
		
		/*
		-----------------------------------
		public  methods
		-----------------------------------
		*/
		
		/*
		-----------------------------------
		private  methods
		-----------------------------------
		*/
		
	}
}